package com.cssy.xxkj.basic.dao;

import java.util.List;

import org.springframework.dao.DataAccessException;

import com.cssy.xxkj.basic.entity.BasicCompanyTestDO;

/**
 * 数据访问对象接口
 * @since 2014-09-02
 */
public interface BasicCompanyTestDAO extends BasicBizDAO<BasicCompanyTestDO>{

    /**
     * 插入数据
     * @param basicCompanyTestDO
     * @return 插入数据的主键
     */
    public String insertBasicCompanyTestDO(BasicCompanyTestDO basicCompanyTestDO) throws DataAccessException;

    /**
     * 统计记录数
     * @param basicCompanyTestDO
     * @return 查出的记录数
     */
    public Integer countBasicCompanyTestDOByExample(BasicCompanyTestDO basicCompanyTestDO) throws DataAccessException;

    /**
     * 更新记录
     * @param basicCompanyTestDO
     * @return 受影响的行数
     */
    public Integer updateBasicCompanyTestDO(BasicCompanyTestDO basicCompanyTestDO) throws DataAccessException;

    /**
     * 获取对象列表
     * @param basicCompanyTestDO
     * @return 对象列表
     */
    public List<BasicCompanyTestDO> findListByExample(BasicCompanyTestDO basicCompanyTestDO) throws DataAccessException;

    /**
     * 根据主键获取basicCompanyTestDO
     * @param id
     * @return basicCompanyTestDO
     */
    public BasicCompanyTestDO findBasicCompanyTestDOByPrimaryKey(String id) throws DataAccessException;

    /**
     * 删除记录
     * @param id
     * @return 受影响的行数
     */
    public Integer deleteBasicCompanyTestDOByPrimaryKey(String id) throws DataAccessException;

}